.card {
  margin: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
}

.card:hover,
.card:focus,
.card:active {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow);
}

.card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

.highlighted {
  border-color: var(--primary-color);
  background-color: rgba(0, 112, 243, 0.05);
}

@media (max-width: 600px) {
  .card {
    width: 100%;
  }
}
